package cn.tedu.spring.auto;

/**
 *员工类
 */
public class Employee {
    private String  employeeName;
    private  Department departmentName;

    @Override
    public String toString() {
        return
                "员工姓名：" + employeeName + '\t' +
                "所属部门：" + departmentName ;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public Department getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(Department departmentName) {
        this.departmentName = departmentName;
    }
}
